{__NOLAYOUT__}<!doctype html>
<html>
<head>
	<meta charset="__CHARSET__" />
	<link href="__CSS__/admin/style.css" rel="stylesheet"/>
	<title>管理中心</title>
</head>

<body scroll="no" class="login_body">
  <table class="login_table">
  	<tbody>
    <tr>
      <td class="logo">
      	<h1>管理中心</h1>
      </td>
      <td class="loginform">
      	<form action="{:U('index/login')}" method="post" id="myform">
            <table>
              <tr>
              	<th>用户名：</th>
                <td><input class="text user" type="text" name="username" id="username" /></td>
              </tr>
              <tr>
              	<th>密码：</th>
                <td><input class="text pass" type="password" name="password" id="password" /></td>
              </tr>
              {if C('verify_code_on')='true'}
              <tr>
              	<th>验证码：</th>
                <td><input class="text vifity" type="text" name="verify_code" id="verify_code" /><img title="刷新验证码" class="verify_img" src="{:U('public:index/verify_code')}" /></td>
              </tr>
              {/if}
              <tr>
              	<th></th>
                <td><input type="submit" value=" " class="login_btn" /></td>
              </tr>
            </table>
            <input type="hidden" name="do" value="login"/>
            <input type="hidden" name="browser" value=""/>
            <input type="hidden" name="backurl" value="{:App.Req('backurl')}"/>
            {__TOKEN__}
      	</form>
      </td>
    </tr>
    </tbody>
  </table>
<script language="javascript" type="text/javascript" src="__JS__/jquery/jquery.js"></script>
<script language="javascript" type="text/javascript" src="__JS__/detector.js"></script>
<script>
$(function(){
    if(self != top){
        top.location = self.location;
    }
    if(window.location.href!="{:U('index/login')}"){
        //$('input[name="backurl"]').val(window.location.href);
    }
    $(".verify_img").click(function(){
        var timenow = new Date().getTime();
        $(this).attr("src","{:U('public:index/verify_code?t=')}"+timenow)
    });
	if(detector.browser.name=='360') {
		$("input[name='browser']").val('360Chrome|浏览器');
	}
});
</script>
</body>
</html>